﻿namespace FFF.Test.Entity.CF.Dto
{
    using System;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using Abp.Application.Services.Dto;
    using Abp.AutoMapper;
    using FFF.Test.Entity.Framework.Dto;
    using FFF.Test.Entity.CF.View;       

	/// <summary>
    /// 业务参数字典表(树)展示时候的dto
    /// </summary>
	[AutoMapFrom(typeof(CFBizOptionEntity))] 
    public partial class CFBizOptionDto :  BaseTreeEntityDto<Guid>
    {
		/// <summary>
        /// 平台业务参数配置GUID(树)
        /// </summary>
		[Display(Name = "平台业务参数配置GUID(树)", Description = "平台业务参数配置GUID(树)")]
        [Column("BizParamSetGUID")]
        public Guid? BizParamSetGUID { get; set; }
        
		/// <summary>
        /// 字典项名称
        /// </summary>
		[Display(Name = "字典项名称", Description = "字典项名称")]
        [Column("BizOptionName")]
		[StringLength(128)]
        public string BizOptionName { get; set; }
        
		/// <summary>
        /// 字典的Code
        /// </summary>
		[Display(Name = "字典的Code", Description = "字典的Code")]
        [Column("BizOptionCode")]
		[StringLength(128)]
        public string BizOptionCode { get; set; }
        
    }
    
    /// <summary>
    /// 业务参数字典表(树)新增时候的dto
    /// </summary>
	[AutoMap(typeof(CFBizOptionEntity))]
    [AutoMapFrom(typeof(ViewCFBizOption))] 
    public partial class CFBizOptionCreateInputDto : BaseTreeEntityDto<Guid>
    {
		/// <summary>
        /// 平台业务参数配置GUID(树)
        /// </summary>
		[Display(Name = "平台业务参数配置GUID(树)", Description = "平台业务参数配置GUID(树)")]
        [Column("BizParamSetGUID")]
        public Guid? BizParamSetGUID { get; set; }
        
		/// <summary>
        /// 字典项名称
        /// </summary>
		[Display(Name = "字典项名称", Description = "字典项名称")]
        [Column("BizOptionName")]
		[StringLength(128)]
        public string BizOptionName { get; set; }
        
		/// <summary>
        /// 字典的Code
        /// </summary>
		[Display(Name = "字典的Code", Description = "字典的Code")]
        [Column("BizOptionCode")]
		[StringLength(128)]
        public string BizOptionCode { get; set; }
        
    }
     
     /// <summary>
    /// 业务参数字典表(树)更新时候Dto
    /// </summary>
	[AutoMap(typeof(CFBizOptionEntity))]
    [AutoMapFrom(typeof(ViewCFBizOption))] 
    public partial class CFBizOptionUpdateInputDto : BaseTreeEntityDto<Guid>
    {
		/// <summary>
        /// 平台业务参数配置GUID(树)
        /// </summary>
		[Display(Name = "平台业务参数配置GUID(树)", Description = "平台业务参数配置GUID(树)")]
        [Column("BizParamSetGUID")]
        public Guid? BizParamSetGUID { get; set; }
        
		/// <summary>
        /// 字典项名称
        /// </summary>
		[Display(Name = "字典项名称", Description = "字典项名称")]
        [Column("BizOptionName")]
		[StringLength(128)]
        public string BizOptionName { get; set; }
        
		/// <summary>
        /// 字典的Code
        /// </summary>
		[Display(Name = "字典的Code", Description = "字典的Code")]
        [Column("BizOptionCode")]
		[StringLength(128)]
        public string BizOptionCode { get; set; }
        
    }
}
